package com.example.administrator.xiaoxiang.activity;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.webkit.WebChromeClient;
import android.webkit.WebView;

import com.example.administrator.xiaoxiang.R;
import com.example.administrator.xiaoxiang.url.URLResource;

public class MovieActivity extends AppCompatActivity {
    private WebView webView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_movie);
        webView = (WebView) findViewById(R.id.webview_movie_activity);
        webView.setWebChromeClient(new WebChromeClient());
        webView.loadUrl(URLResource.Movie);
    }
}
